<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #gnav{
            height: 30px;
            text-align: center;
        }
        #mine-total{
            width: 30px;
            text-align: center;
        }
    </style>
</head>

<body>
    <div id = "gnav">
        剩余：<input type = "text" id = "mine-total" value="0">
        <input type="radio" name="level" id=" lv-1" onchange="g_init(0)" checked="checked">
        <label for="lv-1">初级</label>
        <input type="radio" name="level" id=" lv-2" onchange="g_init(1)">
        <label for="lv-2">中级</label>
        <input type="radio" name="level" id=" lv-3" onchange="g_init(2)" >
        <label for="lv-3">高级</label>
        <button id="btn" onclick="g_init()">重新开始</button>
    </div>
    <canvas id="canvas" width="800" height="800">
        您的浏览器不支持canvas，请更换浏览器重新尝试
    </canvas>
    <script src="./js/minesweeping.js"></script>
</body>


</html>